package com.service.impl;

import com.dao.BrowRecoredMapper;
import com.model.BrowRecored;
import com.service.BrowRecoredService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


/**
 * @author 汪林
 * @date 2020/8/4 9:16
 */
@Service
public class BrowRecoredServiceImpl implements BrowRecoredService {
    @Autowired
    private BrowRecoredMapper browRecoredMapper;

    //查询
    @Override
    public BrowRecored queryBrowRecoredById(Integer browRecoredId) {
        return browRecoredMapper.selectByPrimaryKey(browRecoredId);
    }

    //修改
    @Override
    public int updateByPrimaryKeySelective(BrowRecored browRecored_db) {
        return browRecoredMapper.updateByPrimaryKeySelective(browRecored_db);
    }
}
